{if ! $_session.user.username}

<div class="content">
	<h2 class="icon login-user">Login</h2>
	
	<div class="padded yellow-box">
		Login to the Kudostar private beta!  Check out your current stats and
		watch see what your friends have been doing.
	</div>
	
	<div class="padded">
		<form action="#">
			<table>
				<tr>
					<th>Username</th>
					<td><input type="text" id="username" name="password" /></td>
				</tr>
				<tr>
					<th>Password</th>
					<td><input type="password" id="password" name="password" /></td>
				</tr>
				
				<tr>
					<th></th>
					<td class="hr"><hr /></td>
				</tr>
				
				<tr>
					<th></th>
					<td>
						<button onclick="dash.get('user.authenticate', {ldelim} username: $('form #username').val(), password: $('form #password').val() {rdelim}, dash.fullReload); return false;" class="icon login-user">
							Login
						</button>
					</td>
				</tr>
			</table>
		</form>
	</div>
		
	<br class="clear" />
</div>

{/if}
